package io.lvdaxian.middleware.db.router.test.infrastructure.po;

import io.lvdaxian.middleware.db.router.DBRouterBase;

import java.util.Date;

public class User extends DBRouterBase {
  
  private Long id;
  private String userId;          // 用户ID
  private String userNickName;    // 昵称
  private String userHead;        // 头像
  private String userPassword;    // 密码
  private Date createTime;        // 创建时间
  private Date updateTime;        // 更新时间
  
  public User() {
  }
  
  public User(String userId) {
    this.userId = userId;
  }
  
  public Long getId() {
    return id;
  }
  
  public void setId(Long id) {
    this.id = id;
  }
  
  public String getUserId() {
    return userId;
  }
  
  public void setUserId(String userId) {
    this.userId = userId;
  }
  
  public String getUserNickName() {
    return userNickName;
  }
  
  public void setUserNickName(String userNickName) {
    this.userNickName = userNickName;
  }
  
  public String getUserHead() {
    return userHead;
  }
  
  public void setUserHead(String userHead) {
    this.userHead = userHead;
  }
  
  public String getUserPassword() {
    return userPassword;
  }
  
  public void setUserPassword(String userPassword) {
    this.userPassword = userPassword;
  }
  
  public Date getCreateTime() {
    return createTime;
  }
  
  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }
  
  public Date getUpdateTime() {
    return updateTime;
  }
  
  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }
}
